.mat-form-field-type-mat-select .mat-form-field-infix {
    border-top: 0;
}

.message-type-checkbox .mat-checkbox-layout {
    margin-bottom: 25px;
}

.error-message.mat-error {
    font-size: 12px;
    margin-left: 0;
    margin-top: -18px;
}

.message-block {
    position: relative;

    .mat-form-field {
        width: 100%;
    }

    .mat-form-field-infix {
        border-top: 0;
    }

    .add-message-button {
        position: absolute;
        top: 0;
        right: 0;
        padding: 0;
        margin: 0;
        min-width: 20px;
        height: 20px;

        .mat-icon {
            font-size: 16px;
            line-height: 6px;
        }
    }
}
